package com.hmall.item.search.pojo;

import com.hmall.common.pojo.ItemDoc;
import lombok.Data;
import org.elasticsearch.search.fetch.subphase.highlight.HighlightField;

import java.util.List;

/**
 * @author 29143
 */
@Data
public class PageResult {

    private Long total;
    private List<ItemDoc> itemDocs;

    public PageResult(){

    }
    public PageResult(Long total,List<ItemDoc> itemDocs){
        this.total=total;
        this.itemDocs=itemDocs;
    }

}
